
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 FmsMaterialPrecisionTemplate 分页列表
*/
export function getFmsMaterialPrecisionTemplatePagination(data: any) {
  return axios.get(`${context}/fmsMaterialPrecisionTemplate/pagination`, { params: data });
}


/**
 * 获取 FmsMaterialPrecisionTemplate 所有数据
*/
export function getFmsMaterialPrecisionTemplateAllList(data: any) {
  return axios.get(`${context}/fmsMaterialPrecisionTemplate/all`, { params: data });
}


/**
 * 获取 FmsMaterialPrecisionTemplate 详情
*/
export function getFmsMaterialPrecisionTemplateDetailById(id: any) {
  return axios.get(`${context}/fmsMaterialPrecisionTemplate/${id}`, { params:{id} });
}


/**
 * 新增 FmsMaterialPrecisionTemplate
*/
export function addFmsMaterialPrecisionTemplate(data: any) {
  return axios.post(`${context}/fmsMaterialPrecisionTemplate`, data);
}

/**
 * 修改 FmsMaterialPrecisionTemplate
*/
export function updateFmsMaterialPrecisionTemplate(data: any) {
  return axios.put(`${context}/fmsMaterialPrecisionTemplate`, data);
}

/**
 * 删除 FmsMaterialPrecisionTemplate
*/
export function batchRemoveFmsMaterialPrecisionTemplate(data: any) {
  return axios.post(`${context}/fmsMaterialPrecisionTemplate/batchRemove`, data);
}

    